<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>

<!DOCTYPE html>
<html lang="en">
  <head>
		<meta charset="utf-8">
		<title>Sign in &middot; Car Rental system</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta name="description" content="">
		<meta name="author" content="">

		<link href="/CarRentalSystem/css/bootstrap.min.css" rel="stylesheet">
		<link href="/CarRentalSystem/css/sign.css" rel="stylesheet">

		<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
		<!--[if lt IE 9]>
			<script src="/js/html5shiv.js"></script>
		<![endif]-->
	</head>
	<body>
		<div class="container">
			<html:form action="/auth/signup" styleClass="form-signin">
				<h2 class="form-signin-heading">Sign up</h2>
				<div class="control-group">
					<html:text name="signUpStepOneForm" property="email" errorStyleClass="input-block-level error" styleClass="input-block-level"></html:text>
					<html:errors property="email" />
		        </div>
		        <div class="control-group">
		        	<html:password name="signUpStepOneForm" property="password" errorStyleClass="input-block-level error" styleClass="input-block-level" maxlength="16"></html:password>
		        	<html:password name="signUpStepOneForm" property="passwordRetry" errorStyleClass="input-block-level error" styleClass="input-block-level" maxlength="16"></html:password>
					<html:errors property="password" />
					<html:errors property="passwordRetry" />
		        </div>
		        <html:submit styleClass="btn btn-large btn-primary" value="Next step »"/>
		        <html:cancel styleClass="btn btn-large" value="Cancel"/>
		        <hr>
		        <p>
		          Already registered? <a href="signin.jsp">Sign in »</a>
		        </p>
			</html:form>
		</div>

		<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
		<script src="/CarRentalSystem/js/bootstrap.min.js"></script>
	</body>
</html>
